package cn.krui.helper.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author zc
 * @param 泛型
 */
public class DataArray<T> implements Serializable {

    /**
     * 页大小
     */
    private int pageSize;
    /**
     * 当前页
     */
    private int pageIndex;
    /**
     * 总页数
     */
    private int pageCount;
    /**
     * 数据总条数
     */
    private int dataCount;
    /**
     * 当前页数据
     */
    private List<T> dataList;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getDataCount() {
        return dataCount;
    }

    public void setDataCount(int dataCount) {
        this.dataCount = dataCount;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

}